using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SH.Model
{
    public interface IStatus
    {
        [Key]
        int Id { get; set; }

        [Required]
        [StringLength(30, ErrorMessageResourceType = typeof(Resource_ua_UA), ErrorMessageResourceName = "Field_Should_Be_Between", MinimumLength = 3)]
        [Column("Name")]
        string Name { get; set; }
    }
}